<!DOCTYPE html>
<div id="div" style="width: 100px; height: 100px; background-color: red"></div>
<script>
// For manual testing in browser when cross frame scripting is not allowed.
if (!window.testRunner) {
  setTimeout(function() {
    document.getElementById('div').style.backgroundColor = 'green';
  }, 500);
}
</script>
